package com.dhcc.bpm.modules.safe.service.impl;

import com.dhcc.bpm.modules.safe.entity.IpGateway;
import com.dhcc.bpm.modules.safe.vo.IpGatewayVO;
import com.dhcc.bpm.modules.safe.mapper.IpGatewayMapper;
import com.dhcc.bpm.modules.safe.service.IIpGatewayService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName IpGatewayServiceImpl
 * @Description 网关访问控制IP关联表 服务实现类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service("opc_ip_gateway")
public class IpGatewayServiceImpl extends BaseServiceImpl<IpGatewayMapper, IpGateway> implements IIpGatewayService {

	@Override
	public IPage<IpGatewayVO> selectIpGatewayPage(IPage<IpGatewayVO> page, IpGatewayVO ipGateway) {
		return page.setRecords(baseMapper.selectIpGatewayPage(page, ipGateway));
	}

}
